from core.room import Room
from core.basehandler import BaseHandler

class VictoryRoom(Room):
    
    def __init__(self, room_id):
        Room.__init__(self, room_id)    # do basic initialization for every room
        
        self.audio = ''
        self.image = ''
        self.description = ''
    
    # return description of room.
    def get_description(self):
        return self.description
    # return image of room
    def get_image(self):
        return self.image
    
    def set_image(self,image):
        self.image = image
        
    def set_description(self,desc):
        self.description = desc
        
    def get_audio(self):
        return self.audio
    
    def set_audio(self, address):
        self.audio = address
           

class VictoryRoomHandler(BaseHandler):
    
    # override default template to omit the inventory and actions
    def get_template(self):
        return 'victory.html'
    
    # return class to use to create a new instance of this room
    def get_room_class(self):
        return VictoryRoom

# define actions for this room
